import request from "@/utils/request";

// 查询销售金额日记录表列表
export function selectMonitoringSaleData(query) {
  return request({
    url: "/sale/BiMonitoringMiddleDwd/selectMonitoringSaleData",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function selectOperationsSummary(query) {
  return request({
    url: "/ssale/BiTbSaleDwd/selectOperationsSummary",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function selectTXSaleTargetStatistics(query) {
  return request({
    url: "/ssale/BiTbSaleDwd/selectTXSaleTargetStatistics",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function selectChannelConversion(query) {
  return request({
    url: "/ssale/BiTbSaleDwd/selectChannelConversion",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function selectShopSaleTracking(query) {
  return request({
    url: "/ssale/BiSaleAmount/selectShopSaleTracking",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function shopSaleCompletionStatistics(query) {
  return request({
    url: "/ssale/BiSaleAmount/shopSaleCompletionStatistics",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function channelSaleCompletionStatistics(query) {
  return request({
    url: "/ssale/BiSaleAmount/channelSaleCompletionStatistics",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function oneClickSync(query) {
  return request({
    url: "/ssale/BiSaleAmount/oneClickSync",
    method: "post",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function selectChannelSaleTracking(query) {
  return request({
    url: "/ssale/BiSaleAmount/selectChannelSaleTracking",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function channelSaleData(query) {
  return request({
    url: "/ssale/BiSaleAmount/channelSaleData",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function selectSaleTracking(query) {
  return request({
    url: "/ssale/BiSaleAmount/selectSaleTracking",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function selectSaleTargetStatistics(query) {
  return request({
    url: "/ssale/BiSaleAmount/selectSaleTargetStatistics",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function channelSaleAmountYoy(query) {
  return request({
    url: "/ssale/BiSaleAmount/channelSaleAmountYoy",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表列表
export function brandSaleAmount(query) {
  return request({
    url: "/ssale/BiSaleAmount/brandSaleAmount",
    method: "get",
    params: query,
  });
}

// 查询销售金额日记录表列表
export function listBiSaleAmount(query) {
  return request({
    url: "/ssale/BiSaleAmount/list",
    method: "get",
    params: query,
  });
}
// 查询销售金额日记录表详细
export function getBiSaleAmount(id) {
  return request({
    url: "/ssale/BiSaleAmount/" + id,
    method: "get",
  });
}

// 新增销售金额日记录表
export function addBiSaleAmount(data) {
  return request({
    url: "/ssale/BiSaleAmount",
    method: "post",
    data: data,
  });
}
// 新增销售金额日记录表
export function synData(data) {
  return request({
    url: "/ssale/BiSaleAmount/synData",
    method: "post",
    data: data,
  });
}
// 修改销售金额日记录表
export function updateBiSaleAmount(data) {
  return request({
    url: "/ssale/BiSaleAmount",
    method: "put",
    data: data,
  });
}

// 删除销售金额日记录表
export function delBiSaleAmount(id) {
  return request({
    url: "/ssale/BiSaleAmount/" + id,
    method: "delete",
  });
}
